// pages/map/map.js
Page({
  data: {
    longitude: 116.404,
    latitude: 39.915,
    markers: [{
      id: 0,
      title: '当前位置',
      color: '#FF0000',
      iconPath: '/images/location.png',
      width: 10,
      height: 10,
      latitude: 39.915,
      longitude: 116.404
    }]
  },
  markerTap(e) {
    console.log('marker.tap', e.markerId)
  },
  controlTap(e) {
    console.log('controltap', e.controlId)
  },
  
})